/* You can add global styles to this file, and also import other style files */

/* 引入Bootstrap和Bootstrap Icons */
@import "bootstrap/scss/bootstrap";
@import "bootstrap-icons/font/bootstrap-icons.css";


/* 覆盖Bootstrap变量 */
:root {
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #20c997;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
}

/* 自定义全局样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  background-color: #f5f7fa;
  color: #495057;
}

.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

/* 原有的样式 */
@keyframes donut-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
:root {
  --lpx-logo: url('/assets/images/logo/logo-light.png');
  --lpx-logo-icon: url('/assets/images/logo/logo-light-thumbnail.png');
}
.donut {
  display: inline-block;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #7983ff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: donut-spin 1.2s linear infinite;

  &.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.abp-logo {
  background-repeat: no-repeat;
}

.abp-support {
  width: 178px;
  height: 30px;
  background-image: url('/assets/images/getting-started/abp-support.svg');
}

.abp-community {
  width: 215px;
  height: 30px;
  background-image: url('/assets/images/getting-started/abp-community.svg');
}

.abp-blog {
  width: 142px;
  height: 30px;
  background-image: url('/assets/images/getting-started/abp-blog.svg');
}

.logo-x {
  width: 20px;
  height: 20px;
  background-image: url('/assets/images/getting-started/x.svg');
}
// 强化 PrimeNG 动态弹窗遮罩
body .p-dialog-mask {
  background: rgba(44, 62, 80, 0.32) !important;
  z-index: 1100 !important;
}

// 强化弹窗立体感
body .p-dialog {
  background: transparent !important;
  box-shadow: none !important;
}

body .p-dialog-content {
  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 64px 0 rgba(0,0,0,0.28), 0 1.5px 8px rgba(0,0,0,0.06) !important;
  padding: 36px 36px 28px 36px !important;
  min-width: 640px;
  border: 2.5px solid #e3eaf2;
  z-index: 1200 !important;
}

body .p-dialog-header {
  border-radius: 18px 18px 0 0 !important;
  background: #fafdff !important;
  border-bottom: 1.5px solid #e3eaf2 !important;
}
